package com.zlzxm.studentscreen.globe;


import android.app.Activity;
import android.app.Application;
import android.content.Context;
import android.os.Bundle;

import com.tencent.mmkv.MMKV;
import com.zlzxm.studentscreen.util.applog.AppUncaughtExceptionHandler;

import java.util.LinkedList;


/**
 * CREATE BY zlzxm ON 2021/10/22
 */
public class App extends Application {

    public static Context AppContext;


    @Override
    public void onCreate() {
        super.onCreate();
        AppContext = this;
        MMKV.initialize(this);
        AppUncaughtExceptionHandler.getInstance().init(this);


    }

    public static Context getContext() {
        return AppContext;
    }

}
